<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <title>${g.blogname} &#8212; MeilanBlog</title>
  ${h.stylesheet_link_tag('admin/admin-v%s.css' % g.version)}
</head>
<body>
  <div id="header">
    <h1>${g.blogname} <span>(<a href="${h.url_for('/')}">View site</a>)</span></h1>
  </div>
  <div id="user_info"><p>Howdy, <strong>admin</strong>. [<a href="${h.url_for('/logout')}" title="Log out of this account">Sign Out</a>, <a href="${h.url_for(action='profile')}">My Account</a>] </p></div>

  <ul id="adminmenu">
  % for item in g.admin_menu:
    <li><a href="${h.url_for(action=item.action, id=None)}"${' class="current"' if request.environ['pylons.routes_dict']['action'] == item.action else ''}>${item.name}</a></li>
  % endfor
  </ul>

  ${next.body()}

  <br clear="all" />
  <div id="footer">
    <p><a href="http://code.google.com/p/meilanblog">MeilanBlog</a> v${g.version}</p>
  </div>

</body>
</html>
